/**
 * Project Name:lee
 * File Name:ButtonServiceImpl.java
 * Package Name:com.lee.system.service.impl
 * Date:2017年1月6日下午3:13:33
 * Copyright (c) 2017, chenzhou1025@126.com All Rights Reserved.
 *
*/

package com.lee.system.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.lee.system.mapper.ButtonInfoMapper;
import com.lee.system.model.ButtonInfo;
import com.lee.system.service.ButtonService;

/**
 * ClassName:ButtonServiceImpl <br/>
 * Function: TODO ADD FUNCTION. <br/>
 * Reason:	 TODO ADD REASON. <br/>
 * Date:     2017年1月6日 下午3:13:33 <br/>
 * @author   dell
 * @version  
 * @since    JDK 1.6
 * @see 	 
 */
@Transactional
@Service
public class ButtonServiceImpl implements ButtonService {
	@Autowired
	private ButtonInfoMapper buttonInfoMapper;
	
	@Override
	public int count(ButtonInfo t) {

		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int insert(ButtonInfo t) {

		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int update(ButtonInfo t) {

		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int delete(int id, boolean flag) {

		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public ButtonInfo findById(int id) {

		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<ButtonInfo> findByPid(int id) {

		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<ButtonInfo> findAll() {
		
		return buttonInfoMapper.findAll();
	}

}

